package com.tentative.competition.common.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel(description = "批量补全商品空白图")
@Data
public class ClientBlankChartGoodsAddParam {

    @ApiModelProperty("商品集合ID")
    @NotNull(message = "商品集合不能为空")
    private List<ClientBlankChartGoodsAddInfo> offers;

    @Data
    public static class ClientBlankChartGoodsAddInfo{
        @ApiModelProperty("明细商品跳转部分路径")
        private String infoOfferSubUrl;

        @ApiModelProperty("商品集合ID")
        private Long offerId;
    }

}
